package com.jic.product.service;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.product.entity.ProductCalibration;
import com.jic.product.manage.request.ProductCalibrationRequest;
import com.jic.product.manage.response.ProductCalibrationResponse;
import com.jic.product.manage.response.ProductResponse;
import java.util.List;

/**
 * 商品校标表
 *
 * @author :
 * @version : v1.0.0
 * @email :
 * @since : 2020-05-08 02:52:23
 */
public interface ProductCalibrationService {

  RestResult<String> insert(ProductCalibrationRequest productCalibration);

  RestResult<String> delete(ProductCalibration productCalibration);

  RestResult<String> update(ProductCalibration productCalibration);

  RestResult<ProductCalibrationResponse> queryByPrimaryKey(ProductCalibration productCalibration);

  RestResult<List<ProductCalibrationResponse>> query(ProductCalibration productCalibration);

  RestResult<PageResult<ProductResponse>> queryPage(ProductCalibrationRequest request, Page pageQuery);

}